package com.jason.um.user.servlce;

import com.jason.common.error.BusinessException;
import com.jason.um.user.model.UserModel;

public interface UserService {
    UserModel getUserById(Integer id);

    int insertUser(UserModel userModel) throws BusinessException;

    Boolean authenticate(String telephone, String password) throws BusinessException;

    UserModel getUserByTelephone(String telephone);
}
